<template>
  <div id="app">
     <TheLayout/>
    <transition name="fade-transition">
      <router-view></router-view>
    </transition>
  </div>
</template>
<script>
import TheLayout from"./components/TheLayout.vue";
export default {
  name: 'App',
  components: {
    TheLayout,
  }
};
</script>

<style>
 .fade-transition-enter-from,
 .fade-transition-leave-to {
    opacity: 0;
  }
 .fade-transition-enter-to,
 .fade-transition-leave-from {
    opacity: 1;
  }
 .fade-transition-enter-active,
 .fade-transition-leave-active {
    transition: opacity 0.5s ease;
  }
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
 -ebkit-font-smoothing: antialiased;
 -oz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
